<?xml version="1.0" encoding="utf-8"?>

<animfile>
	<definebone>bone_wheel03</definebone>
	<definebone>bone_wheel04</definebone>
	<definebone>bone_attach_horse_a</definebone>
	<definebone>bone_attach_horse_b</definebone>
	<definebone>HS Bone Master</definebone>
	<attachment>
		horse
		<component>horse</component>
		<include>War of the Triple Alliance\Immigrants\Units\Confederate\wagon\covered_wagon_horse.xml</include>
	</attachment>
	<attachment>
		horse2
		<component>horse2</component>
		<include>War of the Triple Alliance\Immigrants\Units\Confederate\wagon\covered_wagon_horse2.xml</include>
	</attachment>
	<component>
		wagon
		<linksection>
			<linkoffset>0</linkoffset>
			<linkcomponent>axel</linkcomponent>
			<linkconstraint>0</linkconstraint>
		</linksection>
		<linksection>
			<linkoffset>-2.6</linkoffset>
			<linkcomponent>covered_wagon</linkcomponent>
			<linkcomponent>driver</linkcomponent>
			<linkconstraint>1</linkconstraint>
		</linksection>
		<logic type="LowPoly">
			<normal>
				<assetreference type="GrannyModel">
					<file>units\villagers\covered_wagon\covered_wagon</file>
						<replacetexture>
							<from>units\villagers\covered_wagon\covered_wagon</from>
							<to>War of the Triple Alliance\Immigrants\Units\Confederate\wagon\wagon</to>
						</replacetexture>
				</assetreference>
			</normal>
			<lowpoly>
				<assetreference type="GrannyModel">
					<file>units\villagers\covered_wagon\lp_covered_wagon</file>
						<replacetexture>
							<from>units\villagers\covered_wagon\covered_wagon</from>
							<to>War of the Triple Alliance\Immigrants\Units\Confederate\wagon\wagon</to>
						</replacetexture>
				</assetreference>
			</lowpoly>
		</logic>
		<decal>
			<effecttype>default</effecttype>
			<texture isfakeshadow="1">shadows_selections\shadow_circle_128x128</texture>
			<selectedtexture>War of the Triple Alliance\Immigrants\Units\select</selectedtexture>
			<noncinematictexture>War of the Triple Alliance\Immigrants\Units\shadow</noncinematictexture>
			<width>4.0</width>
			<height>4.0</height>
		</decal>
		<watersplash>
			<texture>units\artillery\cannon\wheel_B</texture>
			<width>1.75</width>
			<height>2.00</height>
		</watersplash>
		<attach a="horse" frombone="" tobone="bone_attach_horse_a" syncanims="1"/>
		<attach a="horse2" frombone="" tobone="bone_attach_horse_b" syncanims="1"/>
	</component>
	<anim>
		Idle
		<assetreference type="GrannyAnim">
			<file>units\villagers\covered_wagon\covered_wagon_idle</file>
			<weight>10</weight>
		</assetreference>
		<assetreference type="GrannyAnim">
			<file>units\villagers\covered_wagon\covered_wagon_idle</file>
			<weight>10</weight>
		</assetreference>
		<assetreference type="GrannyAnim">
			<file>units\villagers\covered_wagon\covered_wagon_idle</file>
			<weight>10</weight>
		</assetreference>
		<assetreference type="GrannyAnim">
			<file>units\villagers\covered_wagon\covered_wagon_idle</file>
			<weight>15</weight>
		</assetreference>
		<assetreference type="GrannyAnim">
			<file>units\villagers\covered_wagon\covered_wagon_idle</file>
			<weight>25</weight>
		</assetreference>
		<assetreference type="GrannyAnim">
			<file>units\villagers\covered_wagon\covered_wagon_idle</file>
			<weight>45</weight>
		</assetreference>
		<component>wagon</component>
	</anim>
	<anim>
		Walk
		<assetreference type="GrannyAnim">
			<file>units\villagers\covered_wagon\covered_wagon_walk</file>
			<tag type="SpecificSoundSet" checkvisible="1" set="HorseHoof1">0.10</tag>
			<tag type="SpecificSoundSet" checkvisible="1" set="HorseHoof2">0.27</tag>
			<tag type="SpecificSoundSet" checkvisible="1" set="HorseHoof3">0.44</tag>
			<tag type="SpecificSoundSet" checkvisible="1" set="HorseHoof4">0.61</tag>
			<tag type="SpecificSoundSet" checkvisible="1" set="HorseHoof2">0.78</tag>
			<tag type="SpecificSoundSet" checkvisible="1" set="HorseHoof3">0.94</tag>
		</assetreference>
		<component>wagon</component>
	</anim>
	<anim>
		Death
		<assetreference type="GrannyAnim">
			<file>animation_library\wagon\wagon_death</file>
			<tag type="SpecificSoundSet" checkvisible="1" set="RagdollImpact">0.50</tag>
			<tag type="SpecificSoundSet" checkvisible="1" set="CartBreak">0.03</tag>
			<tag type="SpecificSoundSet" checkvisible="1" set="Thud">0.04</tag>
		</assetreference>
		<component>wagon</component>
	</anim>
</animfile>